import SynchronizationLoginNork from '@/utils/SynchronizationLoginWork'
import Synchronization from "@/utils/Synchronization"
import LoginWork from '@/utils/LoginWork'
import service from '@/utils/request'
// 选择型体查询
export const SelectiveType = (parms:any) => {
    return service.post<any,any>(`/cost/SelectTypeList/${2}`,parms)
}

// 型体资料
export const TypeDataQuery = (parms:any) => {
    return service.post<any,any>(`/cost/TypeInformationList/${2}`,parms)
}

// 型体资料删除
export const deleteTypeDataQuery = (parms:any) => {
    return SynchronizationLoginNork.post<any,any>(`/cost/deletePcCutPriceDetail/${2}`,parms)
}

// 工艺工序查询
export const TechnologicalProcess = (parms:any) => {
    return service.post<any,any>(`/cost/ProcessStepsList`,parms)
}

export const CheckCancelCheck = (choose:number,parms:any) => {
    return SynchronizationLoginNork.post<any,any>(`/cost/CheckOutPcCutPriceDetailO/${choose}`,parms)
}

// 取数
export const fetchDate = (parms:any) => {
    return SynchronizationLoginNork.post<any,any>(`/cost/ManualUnitPriceRetrieval`,parms)
}

// 复制单价到其他配色
export const copyColorPrice = (parms:any) => {
    return SynchronizationLoginNork.post<any,any>(`/cost/copyPriceToOtherStyle3`,parms)
}

// 从其他型体复制单价
export const  CopyTheUnitPriceFromAnotherType = (parms:any) => {
    return SynchronizationLoginNork.post<any,any>(`/cost/copyPriceToOtherStyle4`,parms)
}

// 取开发差异
export const ExploitationVariance = (parms:any) => {
    return SynchronizationLoginNork.post<any,any>(`/cost/TakeDevelopmentDifferences2`,parms)
}